package com.coin900.coin.persist.coin;

/**
 * 币新返回的汇率转换接口数据
 * https://x.tth365.com/api/v2/tickers
 *
 * @author shui
 * @create 2018-01-23
 **/
public class CoinTickerVO {
    /**
     * "code": "ethbtc",
     * "low": "0.0",
     * "high": "0.0",
     * "last": "0.098",
     * "open": "0.098",
     * "volume": "0.0",
     * "change_ratio": null,
     * "sell": "0.0",
     * "buy": "0.098",
     * "at": 1516615023
     **/

    /**
     * eth 转换 btc ： ethbtc
     */
    private String code;

    private String low;

    private String high;

    /**
     * 最近
     */
    private String last;

    /**
     * 开盘
     */
    private String open;

    private String volume;

    private String change_ratio;

    private String sell;

    private String buy;

    private String at;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLow() {
        return low;
    }

    public void setLow(String low) {
        this.low = low;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getLast() {
        return last;
    }

    public void setLast(String last) {
        this.last = last;
    }

    public String getOpen() {
        return open;
    }

    public void setOpen(String open) {
        this.open = open;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getChange_ratio() {
        return change_ratio;
    }

    public void setChange_ratio(String change_ratio) {
        this.change_ratio = change_ratio;
    }

    public String getSell() {
        return sell;
    }

    public void setSell(String sell) {
        this.sell = sell;
    }

    public String getBuy() {
        return buy;
    }

    public void setBuy(String buy) {
        this.buy = buy;
    }

    public String getAt() {
        return at;
    }

    public void setAt(String at) {
        this.at = at;
    }

    @Override
    public String toString() {
        return "CoinTickerVO{" +
                "code='" + code + '\'' +
                ", low='" + low + '\'' +
                ", high='" + high + '\'' +
                ", last='" + last + '\'' +
                ", open='" + open + '\'' +
                ", volume='" + volume + '\'' +
                ", change_ratio='" + change_ratio + '\'' +
                ", sell='" + sell + '\'' +
                ", buy='" + buy + '\'' +
                ", at='" + at + '\'' +
                '}';
    }
}
